<#assign ctx="${rc.contextPath}">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title></title>
		<style type="text/css">
			body {
				margin-left: 0px;
				margin-top: 0px;
				background-image: url('${ctx}/images/seach_4.gif');
			}
		</style>
		<link href="${ctx}/css/common.css" rel="stylesheet" type="text/css">
		<script type="text/javascript" src="${ctx}/js/jquery-1.4.4.min.js"></script>
	</head>

	<body>
		<div align="center">
	<form method="post" action="${ctx}/return/doedit.htm" id="doedit">
	<input type="hidden" name="return_id" value="${tuifang.return_id!""}">
  <table width="100%" height=100% border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height=25 id=location ><div align="left"><img src="${ctx}/images/location_arrow.gif" width="8" height="11" align="absmiddle"> 您的位置：购房/租房&gt;&gt; 退房信息&gt;&gt; 退房查询&gt;&gt; 退房未审批信息修改</div></td>
    </tr>
     <tr>
      <td valign="top" ><div>
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><TABLE width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
                <TBODY>

                  <TR>
                    <TD ><div align="center">
                      <table width="90%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><fieldset>
                            <legend>申请人信息</legend>
                            <TABLE width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
                              <TBODY>
                                <TR>
                                  <TD align="right" >姓名</TD>
                                  <TD align="left" ><input name="return_name" type="text" class="input-text" value="${tuifang.return_name!""}" readonly="readonly">
                                    </TD>
                                  <TD align="right" > 身份证号　</TD>
                                  <TD align="left" ><input name="id_card" type="text" class="input-text" value="${tuifang.id_card!""}" readonly="readonly">
</TD>
                                </TR>
                                <TR>
                                  <TD align="right" >工作单位全称</TD>
                                  <TD align="left" colspan="3"><input name="comp_name" id="comp_name" type="text" class="input-text" value="${tuifang.comp_name!""}" readonly="readonly">
</TD>
                                </TR>
                           	   <TR>
                               
                           	     <TD align="right" >退房价格</TD>
                           	     <TD align="left" ><INPUT type="text" name="price" id="price" value="${tuifang.price!""}" class="input-text" style="width:200px" size="20">元/平米</TD>
							  	     <TD align="right" >退房金额</TD>
                           	     <TD align="left" ><INPUT type="text" name="tfje" id="tfje" value="${tuifang.tfje!""}" class="input-text" style="width:200px" size="20">
                           	       元</TD>	 
                         	     </TR>
                           	   <TR>
                         
                           	     <TD align="right" >综合管理费</TD>
                           	     <TD align="left" ><INPUT type="text" name="zhglf" id="zhglf" value="${tuifang.zhglf!""}" class="input-text" style="width:200px" size="20">
                           	       元</TD>
								        <TD align="right" >退房押金</TD>
                           	     <TD align="left" ><INPUT type="text" name="tfyj" id="tfyj" value="${tuifang.tfyj!""}" class="input-text" style="width:200px" size="20">
                           	       元</TD>
                         	     </TR>
								 	             	  
								 		 	             	   <TR>
                           	     <TD align="right" >退未婚押金</TD>
                           	     <TD align="left" ><INPUT type="text" name="twhyj" id="twhyj" value="${tuifang.twhyj!""}" class="input-text" style="width:200px" size="20">
                           	       元</TD>
                           	     <TD align="right" ></TD>
                           	     <TD align="left" >&nbsp;</TD>
                         	     </TR>
                           	   
                              </TBODY>
                            </TABLE>
                          </fieldset></td>
                        </tr>
                      </table>
                    </div></TD>
                  </TR>
                  <TR>
                    <TD ><div align="center">
                      <table width="90%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><fieldset>
                            <legend>配偶信息</legend>
                                <TABLE width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
                                  <TBODY>
                                    <TR> 
                                      <TD width="90" align="right" > 姓名</TD>
                                      <TD align="left" ><input name="mate_name" type="text" class="input-text" value="${tuifang.mate_name!""}" readonly="readonly"> 
</TD>
                                      <TD align="right" >身份证号</TD>
                                      <TD align="left" ><input name="mate_card" type="text" class="input-text" value="${tuifang.mate_card!""}" readonly="readonly">
</TD>
                                    </TR>
                                    <TR>
                                      <TD align="right" >工作单位全称</TD>
                                      <TD colspan="3" align="left" ><input name="mate_comp" type="text" class="input-text" value="${tuifang.mate_comp!""}" readonly="readonly"></TD>
                                    </TR>
                                    <TR> 
                                      <TD width="90" align="right" ></TD>
                                      <TD align="left" >　</TD>
                                      <TD align="right" >　</TD>
                                      <TD align="right" >&nbsp;                                      </TD>
                                    </TR>
                                  </TBODY>
                                </TABLE>
                          </fieldset></td>
                        </tr>
                      </table>
                      </div></TD>
                  </TR>
                  <TR>
                    <TD ><div align="center">
                    	 	<input name="Submit2" type="button" class="input-button" value="保 存" onClick="save()">
                      <img src="${ctx}/images/line.gif" width="5" height="15" align="absmiddle">
                      <input name="Submit23" type="button" class="input-button" value="重 填" onclick="resettuifang()">
                      <img src="${ctx}/images/line.gif" width="5" height="15" align="absmiddle">
					    <input name="Submit2" type="button" class="input-button" value="不修改返回列表" onClick="history.back()">
                      
                      </div></TD>
                  </TR>
                </TBODY>
              </TABLE></td>
            </tr>
          </table>
          </div>
      </td>
    </tr>
  </table>
	</form>
	<input type="hidden" value="${error!""}" id="errorInfo">
</div>
	</body>
	<script>
	var error = $('#errorInfo').val();
	if (error == '1') {
		alert("保存成功！");
		history.back();
	} else if (error == '0') {
		alert("保存失败，请联系管理员！");
	}
		
		function save() {
			$('#doedit').submit();
		}
		
		function resettuifang() {
			$('#price').val('');
			$('#tfje').val('');
			$('#zhglf').val('');
			$('#tfyj').val('');
			$('#twhyj').val('');
		}
	</script>
</html>